<%@ page import="gggone.Angebot" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'Gebot.label', default: 'Gebot')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="body">
            <h1 style="font-size:16">Beteiligte Auktionen</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div style="color:black" class="list">
                <table width="900" border="1" style="margin-left:10px; border-collapse:collapse; color:black ">
                    <thead>
                        <tr>
                       		<g:sortableColumn property="Gebot" title="${message(code: 'gebot.id.label', default: 'Id')}" />
                        
                            <g:sortableColumn property="Gebot" title="${message(code: 'gebot.Gebot.label', default: 'Gebot')}" />
                        
                            <g:sortableColumn property="Benutzername" title="${message(code: 'gebot.Benutzername.label', default: 'Benutzername')}" />
                        
                       </tr>
                       
                    </thead>
                    <tbody>
                    <g:each in="${gebotInstanceList}" status="i" var="gebotInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link style="color:black" controller="angebot" action="show" id="${gebotInstance.angebot.id}">${fieldValue(bean: gebotInstance, field: "angebot.id")}</g:link></td>
                        
                            <td>${fieldValue(bean: gebotInstance, field: "Gebot")}</td>
                                               
                            <td>${fieldValue(bean: gebotInstance, field: "Benutzername")}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>

        </div>
    </body>
</html>
